#version 150

in vec2 geomTexCoord[];
in vec3 geomLightPos[];
in vec3 geomPosition[];
in vec3 geomNormal[];
in vec3 geomEyeDir[];

out vec2 fragTexCoord;
out vec3 fragPosition;
out vec3 fragLightPos;
out vec3 fragNormal;
out vec3 fragEyeDir;

void main()
{
    for(int i = 0; i < gl_VerticesIn; ++i)
    {
        gl_Position = gl_PositionIn[i];

        fragPosition = geomPosition[i];
        fragTexCoord = geomTexCoord[i];
        fragLightPos = geomLightPos[i];
        fragNormal = geomNormal[i];
        fragEyeDir = geomEyeDir[i];

        EmitVertex();
    }
    EndPrimitive();
}

























